package com.guaoran.interview.spring.scope.service;

import org.springframework.context.annotation.Scope;
import org.springframework.stereotype.Service;

import javax.annotation.PreDestroy;

/**
 * @author : 孤傲然
 * @description : request
 * @date :2019/12/9 18:32
 */
@Service
@Scope("request")
public class RequestService {
//    @PreDestroy
    public void destroy(){
        System.out.println("RequestService ... destroy");
    }
}
